import UpmsMenuAndAuthorityTree from '@/core/upms/types/model/dto/UpmsMenuAndAuthorityTree'
import UpmsMenuShowStatusEnum from '@/core/upms/enums/UpmsMenuShowStatusEnum'
import UpmsMenuResponse from '@/core/upms/types/model/response/UpmsMenuResponse'
import UpmsAuthorityResponse from '@/core/upms/types/model/response/UpmsAuthorityResponse'

const menus: UpmsMenuAndAuthorityTree[] = [
	{
		menu: {
			title: 'demo',
			icon: 'fa fa-folder',
			sort: 0,
			showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
			uri: '/demo',
		} as Partial<UpmsMenuResponse>,
		authority: {} as UpmsAuthorityResponse,
		children: [
			{
				menu: {
					title: 'amis',
					icon: 'fa fa-folder',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
					uri: '/demo/amis',
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [
					{
						menu: {
							title: '超级表格',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/amis/superTable',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '基础表单',
							icon: 'fa fa-folder',
							uri: '/demo/amis/form/BaseForm',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '联动选择框',
							icon: 'fa fa-folder',
							uri: '/demo/amis/form/MultiSelectForm',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '基础页面',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/amis/page',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
				],
			},
			{
				menu: {
					title: 'antd',
					icon: 'fa fa-folder',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
					uri: '/demo/antd',
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [
					{
						menu: {
							title: '自动高度表格',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/antd/fillHeightTable',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '引导',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/antd/assembly/guide',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '数据可视化',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/antd/dashboard/dataVisualize',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '数据中心大屏',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: 'http://localhost:3301/#/demo/antd/dataScreen',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [],
					},
					{
						menu: {
							title: '表单',
							icon: 'fa fa-folder',
							sort: 0,
							showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
							uri: '/demo/antd/form',
						} as Partial<UpmsMenuResponse>,
						authority: {} as UpmsAuthorityResponse,
						children: [
							{
								menu: {
									title: '基础表单',
									icon: 'fa fa-folder',
									sort: 0,
									showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
									uri: '/demo/antd/form/basicForm',
								} as Partial<UpmsMenuResponse>,
								authority: {} as UpmsAuthorityResponse,
								children: [],
							},
							{
								menu: {
									title: '动态表单',
									icon: 'fa fa-folder',
									sort: 0,
									showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
									uri: '/demo/antd/form/dynamicForm',
								} as Partial<UpmsMenuResponse>,
								authority: {} as UpmsAuthorityResponse,
								children: [],
							},
							{
								menu: {
									title: '验证表单',
									icon: 'fa fa-folder',
									sort: 0,
									showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
									uri: '/demo/antd/form/validateForm',
								} as Partial<UpmsMenuResponse>,
								authority: {} as UpmsAuthorityResponse,
								children: [],
							},
						],
					},
				],
			},
		],
	},
]

export default menus
